<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>04-栅栏组件.html</title>
    <!--Vue必须放上面-->
    <script src="../js/vue.js"></script>
    <!--ElementUi-->
    <script src="../element-ui/lib/index.js"></script>
    <link rel="stylesheet" href="../element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <!--
        说明： 页面的一整行占24个单元格
        栅栏组件：
            el-row: 行组件
            el-col: 列组件
            :span : 列组件的属性 , 设置当前这一列占多少个单元格
    -->
    <el-row style="height: 40px;background-color: #cf9236"></el-row>
    <p></p>
    <el-row>
        <el-col :span="6" style="background-color: #cf9236;height: 40px"></el-col>
        <el-col :span="6" style="background-color: blue;height: 40px"></el-col>
        <el-col :span="6" style="background-color: #dd6161;height: 40px"></el-col>
        <el-col :span="6" style="background-color: #5daf34;height: 40px"></el-col>
    </el-row>
    <p></p>
    <el-row>
        <el-col :span="6" style="background-color: #cf9236;height: 40px"></el-col>
        <el-col :span="6" style="background-color: blue;height: 40px"></el-col>
        <el-col :span="6" style="background-color: #dd6161;height: 40px"></el-col>
        <el-col :span="8" style="background-color: #5daf34;height: 40px"></el-col>
    </el-row>
</div>
<script>
    const vm = new Vue({
        el: "#app",
        data: {},
        methods: {}
    });
</script>
</body>
</html>